package com.bwie.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单表
 * @TableName t_order
 */
@TableName(value ="t_order")
@Data
public class OrderVo implements Serializable {

    private Integer orderId;

    /**
     * 订单状态;0未支付1已支付2待发货
     */
    private Integer orderStatus;

    /**
     * 订单类型
     */
    private Integer orderType;

    private String orderNo;

    private String prodName;

    private String keyWord;

    @NotNull(message = "页码不能为空")
    private Integer pageNum;

    @NotNull(message = "每页显示数量不能为空")
    private Integer pageSize;

}